import {createApp} from 'vue';
import {
  Message,
  Select,
  DatePicker,
  Option,
  Input,
  Button,
  Tabs,
  TabPane,
  Table,
  Modal,
} from 'view-ui-plus';
import 'view-ui-plus/dist/styles/viewuiplus.css';
import App from './app.vue';
import router from '../router/popup';
const app = createApp (App);
// app.prototy
//const bg = chrome.extension.getBackgroundPage ();
//console.log (bg);
//bg.startVerifyTask ();

app
  .component ('Select', Select)
  .component ('DatePicker', DatePicker)
  .component ('Option', Option)
  .component ('Input', Input)
  .component ('Button', Button)
  .component ('Tabs', Tabs)
  .component ('TabPane', TabPane)
  .component ('Table', Table)
  .component ('Message', Message)
  .component ('Modal', Modal);

app.use(router).mount('#app');
